import { AUDIT_STATUS_LIST } from '@/const/type';
export const tableOption = () => {
  return {
    ...window.$crudMixins.tableOptions,
    addBtn: false,
    editBtn: false,
    delBtn: false,
    menuWidth: 100,
    viewBtn: false,
    emptyBtn: false,
    submitBtn: false,
    group: [
      {
        label: '审核信息',
        prop: 'group2',
        // labelWidth: 0,
        column: [
          {
            label: '审核结果',
            prop: 'examineState',
            type: 'radio',
            search: true,
            dicData: AUDIT_STATUS_LIST.slice(1),
            rules: [
              {
                required: true,
                message: '请选择审核结果',
                trigger: 'blur',
              },
            ],
          },
          {
            prop: 'examineRemark',
            type: 'textarea',
            label: '审核备注',
            minRows: 7,
            span: 24,
            showWordLimit: true,
            maxlength: 100,
          },
        ],
      },
    ],
  };
};
